package com.contract.spirit.config

import com.contract.spirit.R
import com.contract.spirit.bean.entity.MenuInfo
import java.util.*

/**
 * @author zhengjun
 * @desc
 * @create at 2021/6/19 14:12
 */
object MenuConfig {
    const val TYPE_ORDER = "order"
    const val TYPE_INVITE = "invite"
    const val TYPE_GROUP = "group"
    const val TYPE_PASSWORD = "password"
    const val TYPE_SERVICE = "service"
    const val TYPE_ABOUT = "about"
    val menuList: List<MenuInfo>
        get() {
            val menuInfo = MenuInfo("我的订单", R.mipmap.icon_menu_order, TYPE_ORDER)
            val menuInfo2 = MenuInfo("邀请助力", R.mipmap.icon_menu_invite, TYPE_INVITE)
            val menuInfo3 = MenuInfo("我的团队", R.mipmap.icon_menu_group, TYPE_GROUP)
            val menuInfo4 = MenuInfo("资金密码", R.mipmap.icon_menu_password, TYPE_PASSWORD)
            val menuInfo5 = MenuInfo("我的客服", R.mipmap.icon_menu_service, TYPE_SERVICE)
            val menuInfo6 = MenuInfo("关于我们", R.mipmap.icon_menu_about, TYPE_ABOUT)
            val list: MutableList<MenuInfo> = ArrayList()
            list.add(menuInfo)
            list.add(menuInfo2)
            list.add(menuInfo3)
            list.add(menuInfo4)
            list.add(menuInfo5)
            list.add(menuInfo6)
            return list
        }
}